package com.threefish.common.config.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 黄川 huchuc@vip.qq.com
 * @date: 2018/9/10
 */
@Component
@ConfigurationProperties(prefix = "fw.cfg", ignoreInvalidFields = true)
public class ConfigProperties {

    Boolean dev;

    Boolean initSystem;

    String productVersion;

    public Boolean getDev() {
        return dev;
    }

    public void setDev(Boolean dev) {
        this.dev = dev;
    }

    public Boolean getInitSystem() {
        return initSystem;
    }

    public void setInitSystem(Boolean initSystem) {
        this.initSystem = initSystem;
    }

    public String getProductVersion() {
        return productVersion;
    }

    public void setProductVersion(String productVersion) {
        this.productVersion = productVersion;
    }
}
